package com.citic.netty.common.protocol.response;

import com.citic.netty.common.protocol.Command;
import com.citic.netty.common.protocol.Packet;
import com.citic.netty.common.protocol.session.Session;

public class GroupMessageResponsePacket extends Packet {

	private static final long serialVersionUID = 1L;

	private String fromGroupId;

    private Session fromUser;

    private String message;

    public String getFromGroupId() {
		return fromGroupId;
	}

	public void setFromGroupId(String fromGroupId) {
		this.fromGroupId = fromGroupId;
	}

	public Session getFromUser() {
		return fromUser;
	}

	public void setFromUser(Session fromUser) {
		this.fromUser = fromUser;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
    public Byte getCommand() {

        return Command.GROUP_MESSAGE_RESPONSE;
    }
}
